<?php
if (preg_match("/[0-9]+/", "Hello 12345 World!",$matches)) {
print_r($matches);
  echo "Match was found <br />";
  echo $matches[0];
}
